mvn eclipse:eclipse
mvn clean package

$TOMCAT_HOME/bin/shutdown.sh

echo removing tomcat webapps
echo -e '\n'
rm -rf $TOMCAT_HOME/webapps/personalcore.war
rm -rf $TOMCAT_HOME/webapps/personalcore

echo copying testMaven to tomcat webapps
echo -e '\n'
cp target/personalcore.war $TOMCAT_HOME/webapps

echo -e '\n'
echo starting tomcat ...
echo -e '\n'

$TOMCAT_HOME/bin/startup.sh
